package com.seu.service;

import com.seu.bean.Permission;
import com.seu.bean.User;
import com.seu.mapper.PermissionDao;

import java.util.List;

public class PermissionServiceImpl implements PermissionService{

    @Override
    public List<Permission> queryPermissionsByUser(User user) {
        return PermissionDao.queryPermissionsByUser(user);
    }
}
